package com.android.inestpin.model.detail;

import android.util.Log;

import com.google.gson.Gson;
import com.android.inestpin.utils.okhttp3.Callback;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/7/27.
 */

public abstract class wchatpaydoneCallback extends Callback<wchatpaydone> {

    @Override
    public wchatpaydone parseNetworkResponse(Response response, int id) throws Exception {

        String string = response.body().string();
        Log.e("response",string);
        wchatpaydone data = new Gson().fromJson(string,wchatpaydone.class);

        return data;
    }
}